package com.ms.p2p.service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.ms.common.exception.NoticeException;
import com.ms.p2p.entity.system.Dictionary;
import com.ms.p2p.provider.DictionaryProvider;
import com.ms.p2p.provider.IdCardQueryProvider;
import org.springframework.stereotype.Service;

import java.io.UnsupportedEncodingException;
import java.util.List;

/**
 * Created by JZL on 2018/3/14.
 */
@Service
public class IdCardQueryService {
    @Reference
    IdCardQueryProvider idCardQueryProvider;


    public  boolean idCardQuery(String idCard, String realName) throws NoticeException,UnsupportedEncodingException {
        return idCardQueryProvider.idCardQuery(idCard, realName);
    }

}
